package com.sanshow.charging.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity(
        nameInDb = "fb_wakeboard"
)
public class Wakeboard {

    @Id(autoincrement = true)
    @Property(nameInDb = "id")
    private Long id;

    @Property(nameInDb = "info_code")
    private String infoCode;

    @Property(nameInDb = "item_code")
    private String itemCode;

    // 在线状态:0=掉线,1=在线,2=异常
    @Property(nameInDb = "item_state")
    private int itemState;

    // 在线状态:0=空闲,1=忙碌
    @Property(nameInDb = "use_state")
    private int useState;

    @Property(nameInDb = "except_info")
    private String exceptInfo;

    @Property(nameInDb = "update_time")
    private Date updateTime;

@Generated(hash = 1245652891)
public Wakeboard(Long id, String infoCode, String itemCode, int itemState,
        int useState, String exceptInfo, Date updateTime) {
    this.id = id;
    this.infoCode = infoCode;
    this.itemCode = itemCode;
    this.itemState = itemState;
    this.useState = useState;
    this.exceptInfo = exceptInfo;
    this.updateTime = updateTime;
}

@Generated(hash = 606475163)
public Wakeboard() {
}

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getInfoCode() {
    return this.infoCode;
}

public void setInfoCode(String infoCode) {
    this.infoCode = infoCode;
}

public String getItemCode() {
    return this.itemCode;
}

public void setItemCode(String itemCode) {
    this.itemCode = itemCode;
}

public int getItemState() {
    return this.itemState;
}

public void setItemState(int itemState) {
    this.itemState = itemState;
}

public int getUseState() {
    return this.useState;
}

public void setUseState(int useState) {
    this.useState = useState;
}

public String getExceptInfo() {
    return this.exceptInfo;
}

public void setExceptInfo(String exceptInfo) {
    this.exceptInfo = exceptInfo;
}

public Date getUpdateTime() {
    return this.updateTime;
}

public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
}

}
